{
  "groupings": [
    {
      "inputField": "Composite Rating"
    },
    {
      "inputField": "Is Perpetual"
    },
    {
      "inputField": "Maturity Date"
    },
    {
      "inputField": "Coupon"
    }
  ],
  "measures": [
    {
      "inputField": "Market Price",
      "function": "SUM"
    },
    {
      "inputField": "Model Yield",
      "function": "MEAN"
    },
    {
      "inputField": "Ticker",
      "function": "MIN"
    },
    {
      "inputField": "Ticker",
      "function": "MAX"
    },
    {
      "inputField": "Is Split",
      "function": "SINGLETON"
    },
    {
      "function": "RECORD_COUNT"
    }
  ],
  "filter": {
    "type": "AND",
    "filters": [
      {
        "type": "FIELD_VALUE",
        "inputField": "Category",
        "operator": "=",
        "value": "Subordinated"
      },
      {
        "inputField": "Coupon",
        "operator": ">=",
        "value": 1.5
      },
      {
        "inputField": "Issue Name",
        "operator": "!=",
        "value": null
      },
      {
        "inputField": "Composite Rating",
        "operator": "IN",
        "values": [
          "A",
          "A-",
          "A+",
          "AA",
          "AA+",
          "AA-",
          "AAA"
        ]
      },
      {
        "type": "NOT",
        "filter": {
          "type": "OR",
          "filters": [
            {
              "inputField": "Composite Rating",
              "value": "MIDDLE EAST"
            },
            {
              "inputField": "Composite Rating",
              "value": "EUROPE"
            }
          ]
        }
      }
    ]
  },
  "sorts": [
    {
      "inputField": "Composite Rating",
      "direction": "ASCENDING"
    },
    {
      "inputField": "Ticker (MAX)",
      "direction": "DESCENDING"
    },
    {
      "inputField": "Coupon",
      "direction": "DESCENDING"
    }
  ],
  "range": {
    "start": 0,
    "length": 10
  }
}